Pattern classification equipment

ABSTRACT

A pattern classification system responds to an n-dimensional binary pattern and classifies the pattern in accordance with previously stored weighting coefficients. The n-dimensional pattern is multiplied by positive and negative weighting coefficients to form a sum which is a measure of the similarity of the pattern to a known pattern for which the weighting coefficients are selected. Magnetic domain storage and logic circuits are used to store the weighting coefficients and form the sum.

United States Patent 1191 Takahashi I Jan. 15, 1974 15 1 PATTERN CLASSIFICATION EQUIPMENT 3.623.015 11/1971 Schmiiz ct =11. 340 1725 3,626,368 12/1971 Lcc 340/1463 F [751 Invent: Kwsuke Takahash" T019), Japan 3,638,208 1/1972 Chow 340 174 TF 73 Assignee; Nippon Electric Co Ltd Tokyo" 3,651,459 3/1972 Hahn 340/1463 WD Japan 3,668,667 6/1972 Cope1and.... 340/174 TF 3,678,287 7/1972 Chow 307/88 LC [22] Filed: June 1, 1972,

[2]] Appl. N0.: 258,693 Primary ExaminerPau1 J. Henon Assistant Examiner-James D. Thomas Att0rneyRichard C. Sughrue et a1. [30] Foreign Application Priority Data June 2, 1971 Japan .1 46-38802 v [57] ABSTRACT [52] 3 340/174 TF4 340/1463 A0 A pattern classification system responds to an n- [51] Int. Cl. 606k 9/10 dimensional binary pattern and classifies the attem in P [58] Field of Search 340/1725, 146.3 T, accordance with previously Stored weighting coeffici 340 1463 MA, 146.3 Q, 146.3 AG, 174 TF ents. The n-dimensional pattern is multiplied by positive and negative weighting coefficients to form a sum [56] References C' d which is a measure of the similarity of the pattern to a UNITED STATES PATENTS known pattern for which the weighting coefficients are 3,165,718 1/1965 P16151161 340/1463 selected- M g ti d main st rage and logic circuits 3,317.901 5/1967 Clapper 340/1725 are used to store the weighting coefficients and form 3,483,512 12/1969 Atkins 340/1463 the sum. 3,508,225 4/1970 Smith 340/174 3,573,730 4/1971 Andrews et a1 340/1463 12 Claims, 11 Drawing Figures Pl 4 P2 y 1 x 11 23 24 M3 k\\\\\\\\\\\\\\ L 4 lsj Gail COM PA RATOR LOGIC CIRCUIT PATENIEUJAN v 5 W 3 mama SHEEI 1 OF 5 PATTERN CLASSIFICATION EQUIPMENT BACKGROUND OF THE INVENTION This invention relates to pattern recognition equipment and, more particularly, to pattern classification equipment forming a main constituent element of the recognition equipment.

With the remarkable progress achieved recently in the field of the information handling systems using various computers as the central processing units, there has been a demand for the development of pattern recognition equipment capable of providing rapid input of information to the information handling systems.

Characters, symbols, figures, and human voices are generally called patterns. For example, the legibility of characters corresponds to the recognizability of a category to which a particular pattern belongs. Such classifying work is easy for a man to carry out but very hard for computers. Pattern recognition equipment is required as an aid for accomplishing this task.

Pattern recognition equipment for a specific use has already been developed and is known as the OCR. The OCR equipment for which the number of classes or categories to be classified is restricted to a dozen or so, has been developed and placed on market. However, the extension of such OCR techniques to the development of character recognition equipment capable of recognizing as many as several thousand characters presents very difficult problems.

The composition of the present-day OCR equipment is divided into four means as follows:

1. Document feeding means;

2. Optical observing means;

3. Recognition means; and

4. Control means.

The document feeding means sets every sheet of documents in a position-within the coverage of the observing means, such as an optical scanner. The characters printed in the designated locations are scanned by the observing means. The observing means effectively divides the character area into a mesh or a matrix of smaller areas and develops a signal for each mesh representing the brightness of the mesh. In this manner a binary pattern signal is developed representing each scanned character. Each binary component represents the brightness of one mesh area. The recognition means compares the pattern signal with a reference mask pattern and produces an output representing the class designation of the reference pattern which best matches the pattern signal. The 'control means controls the operations of the feeding means, optical observing means, and the recognition means.

In the recent OCR equipment, document feeding means (1); optical observing means (2) and recognition means (3); and control means (4) occupy wellbalanced proportions in the manufacturing cost. However, with the increase in the number of the input characters and hence, in the number of meshes, means'(2) and (3) occupy the largest portions in the cost. The present invention is closely related to the means (2) and (3). Therefore, a description of the conventional means will be given with particular reference to these means (2) and (3).

In FIG. 1 which shows a simplified diagram of the above-mentioned optical observing means, a part 2 to which a character or an input pattern is applied is divided into nine meshes, and the brightness on each mesh is converted into an electrical signal one after another by the means I. Also, the electrical signal is converted into a binary electrical signal (x x and x depending on whether the'brightness exceeds the mean brightness or not. The binary electrical signals are sent to a shift register 3. A sequence of electric signals x,, x and x produced as outputs at successively predetermined time intervals from the means 1 forms a 9dimensioned time sequential pattern. As soon as the binary electrical signals are sequentially set in flip-flops 4 of the register 3, the time sequential pattern is converted into a spatial pattern. In such a manner, an input pattern X=(x,, x and x,,) is set in the register 3. The most primitive recognition method for the input pattern X is to first prepare a number of mask patterns representing sorts or classes and to calculate which one of the mask patterns coincides with the input pattern X. Of course; the mask patterns corresponding to black portions and those to white portions are separately prepared. In addition, the calculation for deciding the degree of coincidence for these black and white portions is performed separately, and the results of the calculation are'pu't together. Incidentally, the state dependent variable or the weighting coefficient for each component of the mask pattern is a binary value 1 or 0, or in other words, the same as a value taken by the state-dependent variable for each component of the input pattern X. As a result, the calculation for the determination of coincidence can be attained by using simple logic circuits such as AND, OR, etc.

In the recent recognition methods, improved on the basis of above-mentioned principles, the statistical processing method is adopted due to the necessity of taking into consideration the incompleteness of the input pattern and spots and voids of characters. In other words, in the recognition method, the similarity is determined in place of the coincidence. Since the statedependent variable for each component of the mask pattern takes a value between 0 and 1, the resultant mask pattern is referred to as the weight vector.

In general, the weighting coefficient w for the i-th component of the weight vector W, of the j-th class should be so set as to indicate the occurrence probability for a case where the state-dependent variable x, for

the i-th component of the input pattern X belonging to the j-th class is 1. Consequently, the occurrence probability of the case where the state-dependent variable x, for the i-th component of the pattern X belonging to the j-th class is 0 becomes (lw The weight vector corresponding to the j-th class can be divided into a positive weight vector W, having the components w and a negative weight vector 1 W,) having the components (lw wherein i denotes an integer I through n and j, an intger I through m, while all components of vector 1 are 1. Moreover, n represents the number of components for the pattern X (dimensional number) and m represents the number of weight vectors or classes.

In order to determine the class to which the pattern X belongs, the degree of similarityobtainable by computing the inner product of the input pattern X and the weight vector is derived from weight vectors and the class designation for the weight vector of the largest degree of similarity is displayed. Incidentally, it is to be noted here that the similarity cannot be derived solely from the inner product of the pattern X and the weigh vector W Assuming now that the positive vector W, is expressed as and a first input pattern X is expressed as the inner product of W, and X is given by 0.3 X 0.8 Xl+0.1X0+0.9X1+0.2 0=1.7.

On the other hand, assuming that a second input pattern X is expressed as In computing the similarity, the inverted input pattern X must be introduced, which is expressed as Likewise, the inverted second input pattern X, expressed as ooooof is introduced.

The inner product of X and l W,) is given by 0.7 X l +0.2 0+0.9 X 1 +0.1 X0+0.8X 1 =2.4, whereas the inner product of X, and 1 W,) is given y In this case, 2.4 is evidently larger than 0, with the result that the pattern X is decided to be closer to the typical pattern of the j-th class than the pattern X,.

The computation results for the positive and negative weight vectors are put together. More specifically, the two inner products for the first input pattern are 1.7 and 2.4, and the sum is 4.1. The two inner products for the second input pattern are 2.3 and 0, and the sum is 2.3. Comparing the two sums 4.1 and 2.3, it is determined that the first input pattern is more similar to the j-th mask pattern. This decision is consistent with our visual judgment.

As a result, the similarity between the input pattern X and the typical pattern of the j-th class is obtained from equation:

where the asterisk denotes the operational notation for the inner product. 1

Various methods have been proposed for deciding the weighting coefficient for each component of the positive or the negative vector of each class. For instance, a method for deciding weighting coefficients by learning from a number of training patterns is set forth in a book titled LEARNING MACHlNES by Niles J. Nilsson, published by the McGraw-Hill Book Company in 1965. Furthermore, in a paper titled State of the Art in Pattern Recognition published in PROCEED- lNGS OF THE lEEE, Vol. 56, No. 5; 1968, pages 836 through 862, it is discussed how the weighting coefficients should be decided for the best pattern classification performance.

At any rate, the weighting coefficients can be easily derived from computers by using the formulae, even if only a portion of the statistical properties of the patterns to be applied to the OCR equipment is known.

FIG. 2 shows a diagram of the recognition means used in a conventional OCR equipment. This means itself may be employed as a pattern classification equipment other than the OCR equipment.

A time sequential input pattern X supplied from the v observing means 1 of FIG. 1 is set in the shift register 3, wherein the i-th component x, of the input pattern X is either 1 or 0. The flip-flops 4 as the constituent elements of the register 3 store the state-dependent variables for the components of the pattern X. Resistors 5 connected to these flip-flops 4 have resistance values corresponding to the weighting coefficients. An operational amplifier 7 and a resistor 6 are used for increasing the operational function so that x X RHIRO +12 X Rz lRo +x X Rm/Ro X X RBI/R01 is produced as an output from a terminal 8 of the amplifier 7.

If w corresponds to R /R,,,, the inner product of X and W, can be computed. Herein, the inner product of an inverted input pattern X and a negative weight vector 1 W,) can be computed by the same circuit as the one shown in FIG. 2.

As a practical matter, such a circuit has been employed in the conventional OCR equipment, since the circuit has simple structure and is readily made in the form of an integrated circuit. However, in this circuit, the following disadvantages are inevitable. First, it is impossible to alter the weight vector, and the operation of the circuit becomes inaccurate and the wiring of the circuit becomes complicated with the increase in the number of components of the input pattern.

In order to solve these problems, a digital memory having the function of a read only memory is adopted in the recently developed OCR equipment in place of the resistance circuit. In this case, each component w of the weight vector is stored discretely. Therefore, an integer w larger than i is used in place of I, that is, w, is used as vector 1 Thus, the computation accuracy is greatly improved.

However, in cases where patterns having large dimensional numbers or class numbers, such as the Chinese characters, are classified, various contrivances are needed in addition to the digital memory.

Some problems in the recognition of the Chinese characters are disclosed in a paper titled Recognition of Printed Chinese Characters" in IEEE Transactions on ELECTRONIC COMPUTERS, Vol. 15, No. 1, Feb. issue, 1966.

FIG. 3 shows representative circuit structure of the conventional pattern classification equipment. Smallscale equipment of this type has been adopted as the recognition means of the conventional OCR equipment.

In FIG. 3, all weight vectors are stored in a digital memory 9 of the random access type. One or two weighting coefficients per word are stored'in the memory 9. In response to a command from a control unit 13, positive and negative weight vector components of each class are supplied to a shift register 10 for the positive weight vector and a shift register 11 for the negative weight vector. As soon as the input pattern is set and is normally called the weighted sum. The weighted sum is converted into a binary signal by a quantizer l7 and the binary signal is given to the control unit 13.

When the degree of similarity is large and the weighted sum is in excess of a certain threshold value, the output of the quantizer I7 is 1, whereas the output is when the weighted sum is below the threshold value. a

The control unit 13 stores the output of the quantizer l7 and the address selected in the memory 9 in a oneto-one correspondence.

Weight vectors W and W ,--W for each input pattern corresponding to various classes are read out in succession from the memory 9, the weighted sum is computed, the weighted sum is converted into 1 or O by the quantizer 17, and the quantized output is stored in the control unit 13. The designation of a class or category to which the input pattern belongs can be decided depending on a sequence of arrangement of l and 0 in the output of the quantizer 17. As a result, the decision regarding the class designation for the input pattern is generated from a terminal 14. Immediately after this decision is made, the conrol unit 13 causes the observing unit 1 and the digital memory 9 to be reset to the initial state and produces a command for permitting the acceptance of a new input pattem. The shift registers 10, 11 and 12 are reset every time the processing of the weight vector W, output from the memory 9 has been completed and thereafter, they are set upon receipt of a new weight vector W,.

Such a conventional OCR equipment has the follow ing disadvantages:

1 When the number of the weight vectors W, or dimensions n of the input pattern is increased, both the memory capacity of the core memory 9 and the time interval required for scanning all addresses become extraordinarily large; (2) With the increase in the number of bits for each weighting coefficient w,-,-, the memory capacity of the shift registers 10, 11 and I2 is greatly increased. For instance, in the conventional OCR equipment capable of reading Chinese characters of the order of 3000, even if various contrivances are made for restricting the number of the weight vectors W, (mask patterns) within l0, the number of the dimensions within 10 and the number of bits of each weighting coefficient less than 4, still a digital memory 9 having a capacity of 8 X 10 bits must be provided. Furthermore, three sets of 4 X 10 shift registers and one set of 10 shift registers are required. Assuming that the cycle time is 1 microsecond, the time interval required for scanning the entire words in the memory 9 becomes as long as 10 seconds. Also, since the manufacturing cost per bit of the shift registers 10, ll, 12 and the memory 9 is very high at present, the equipment shown in FIG. 3 is very costly to manufacture.

As is apparent from the foregoing description, the application of OCR equipment having the pattern classification equipment with conventional construction to the recognition Chinese characters has disadvantages such as the high cost involved and the relatively long processing time.

SUMMARY OF THE INVENTION It is one object of this invention to provide a new and improved pattern classification equipment or system for use in the recognition of various patterns such as Chinese characters free from the above-mentioned disadvantages of the prior art equipment.

The pattern classification equipment of this invention is characterized in that, with respect to :an ndimensional time sequential pattern consisting of n binary state-dependent variables observed at a predetermined time interval, each of the binary statedependent variables is multiplied by a weighting coefficient, the resultant n products are added together, and the result of the addition is quantized, whereby the class or category to which the time sequential pattern belongs is determined.

The pattern classification equipment comprises a scanning type observing means for converting an input pattern on a sheet of a document to be scanned which is divided into n meshes into binary signals as a time sequential input pattern at a predetermined time interval, indicative of whether or not the brightness on each mesh exceeds a threshold level, a sequential access memory having a plurality of memory sections for storing n pairs of positive and negative weighting coefficients and capable of reading out a pair of weighting coefficients so as to correspond to each component of the time sequential input pattern, a plurality of switching means connected to readout terminals corresponding to the plurality of memory sections of the memory and controlled by the output of the observing means, a counter connected to the plurality of switching means, a quaritizer connected to the counter and composed of a comparator and a polarity detector, a timing control means for generating timing signals for controlling the operation of each of the above-mentioned means, whereby the corresponding switching means operates so that the positive or negative weighting coefficient may be given to the counter depending on the binary output signal I or from the observing means.

The pattern classification equipment of this invention has the following outstanding advantages:

1. No shift registers are required for storing the input pattern. Also, the weighted sum for the input pattern can be obtained within a time interval less than the storage time.

2. A less expensive sequential access memory is utilized in the equipment. The OCR equipment incorporating the pattern classification equipment of this invention becomes less costly to manufacture as compared with the conventional OCR equipment having the random access type core memory.

3. Because the weighting coefficients are stored as a ratio of the numbers of l and 0, the performance can scarcely be affected by a one-bit memory error. In addition, the positive and negative weight vectors are stored in pairs, and error checking can be performed based on the fact that the sum of the weighting coefiicients of each component is always constant. Thus, the reliability of the equipment can be greatly improved.

4. By employing magnetic bubble domain devices as the sequential access memory, the parallel computation of the weighted sum is easily accomplished. This contributes greatly to the cost reduction, and at the same time, to the increase of the processing speed.

BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 diagrammatically shows an optical observing means;

FIG. 2 shows a schematic program of a recognition means for use in a conventional optical character recognition (OCR) equipment;

FIG. 3 shows a schematic blockdiagram of a representative structure of a conventional pattern classification equipment;

FIG. 4 shows a block diagram of a first embodiment of this invention;

FIG. 5 shows a block diagram of a second embodiment of this invention;

FIG. 6 illustrates how an input pattern X is processed by the equipment shown in FIG. 5;

FIG. 7 shows a structural example of the pattern classification'equipment in FIG. 5 as exemplified in the form of the magnetic bubble domain device;

FIG. 8 shows a diagram for explaining how the input pattern is processed by the equipment of FIG. 7;

FIG. 9 shows a diagram for illustrating thin film patterns of permalloy in various parts of the device shown in FIG. 7;

FIG. 10 shows a structural example of the equipment of FIG. 4 as exemplified in the form of the magnetic bubble domain device; and

FIG. 11 shows a diagram for explaining in detail the operation of a particular propagation path P shown in FIG. l0.

DETAILED DESCRIPTION OF THE DRAWINGS In FIG. 4 which shows a block diagram of a first embodiment of this invention, the pattern classification equipment comprises a sequential access memory 20 for storing the weight vectors W, (w,,, w and w,,,) and (W, W,) (w, w,,, w, w,,, and w, w,,,) in the analogue form in a pair of memory sections 27a and 27b, respectively, switching circuits 21a 21b respectively connected to readout output terminals 290 and 29b corresponding to the memory sections 27a and 27b, a counter 22 connected to the junction of the outputs of the switching circuits 21a and 21b, a comparator 23 connected to the counter 22, a polarity detector 24, a logical processing circuit 25, an input pattern observing unit 1, and a timing control circuit 26. The timing control circuit 26 causes timing control signals for synchronization to be applied to the observing unit 1, the sequential access memory 20, the counter 22, and the polarity detector 24 through signal lines 26a, 26d, 26b and 260, respectively.

In cases where the memory 20 can store information only digitally (for instance, magnetic drums or magnetic bubble domain devices), w, binary memory bits are assigned to the components w and w, w (i l, 2, and n) of the weight vectors W, and W,- W, in the sections 270 and 27b, and analogue values corresponding to these components are stored in the memory 20 as the summation of the number of l. Incidentally, the sum of the number of l for the i-th component of the positive weight vector and that for the i-th component of the negative weight vector always becomes w,, resulting in easily performing memory error checking. I

Each of the switching circuits 21a and 21b is switched downward when each component (x,, i I, 2 and n) of the input pattern is l and upward when it is 0. Therefore, if the component of the input pattern is I, the i-th component w of the weight vector W, (w,,, w,,, and w,, in the section 27a is fed to the counter 22, and if the component of the input pattern is 0 the i-th component of the weight vector W, W, (w, w,,, w, w and w, w,,,) in the section 27b, is given to the counter 22. Consequently, the output of the cou r iter 22 becomesequal to the inner product X W, X (W,W,) (which represents the similarity) at the time when the final component x,, of the input pattern X (x,, x,, and x entered into either switching circuit 2111 or 21b.

Whether or not the similarity exceeds a certain level can be determined by comparing at the comparator 23 the output of the counter- 22 with a predetermined threshold value applied to a terminal 28. When the result of comparison at the comparator 23 is positive, the output of the detector 24 becomes 1. Thus, after the input pattern has been processed, the control circuit generates a signal to reset the counter 22 through the signal line26b.

It is the most convenient method to determine the threshold value applied to the terminal 28 equal to one half l/2n X 2,) of the maximum value which the inner product can take, that is, the value n of the number of components of the input pattern multiplied by the saturated value w,. Incidentally, the alteration of the weight vector W, (w,,w and w,,, and (W W,)=(w, w,,, w, w and w,,,) is scarcely required, as a practical matter. As a result, it is not a serious problem, even if the write-in period may require tens of minutes. Even if the alteration of the weight vector W or W, W 1 occurs frequently, it is not difficult to do so because large-scale computerscan be used on a timesharing basis at present.

If several sets of means 27a, 27b, 21a, 21b, 22, 23, and 24 are connected in parallel, a complicated input pattern X can be classified into a plurality of classes. In such a case, weight vectors corresponding to a plurality of classes are stored in the memory 20 and outputs of a plurality of polarity detectors 24 are put together in the circuit 25, whereby the classification into the desired classes is achieved.

In FIG. which shows a block diagram of a second embodiment of this invention, like elements are designated by like reference numerals as FIGS. 4 and 5. The only difference between the two embodiments resides in providing two counters 22a and 22b instead of a single counter 22 in FIG. 4.

Assuming that each of the switching circuits 22a and 22b is switched to the upper terminal when the compo nent x, of the input pattern X is l and is switched to the lower terminal otherwise, the output of the counter 22a becomes X W 4- (W, W,) in a similar manner to FIG. 4 as soon as the input pattern X has been supplied, whereas the output of the counter 22b becomes X W 32 (W, W which substitutes for the predetermined threshold value used in FIG. 4. Therefore, the output of the comparator 23 is expressed as This choice of which one of these two embodiments of FIGS. 4 and 5 depends on the user. Even though one additional counter-is needed in the circuit arrangement of FIG. 5, the latter circuit can exhibit a better performance to cost ratio when stable operation is desired.

The individual functional blocks described in connection with FIGS. 4 and 5 are known in the art. Details of specific preferred magnetic domain circuit implementations of various combinations of the aforesaid functional blocks are disclosed below in connection with FIGS. 6 through ll. However, it should also be noted that the prior art discloses known implementations of the functional blocks in the form of electronic circuitry. As an example, the counters 22 of FIGS. 4 and 6 may be of the type described on pages l7 through 1-9 of, Design of Transistorized Circuits for Digital Computers, by Abraham Pressman, published John F. Rider Publisher, Inc., N.Y., 1959, (see description of FIGS. l-9 and l-lll). The comparators of FIGS. 4 and 5 may be of the type described on pages 2-32 and 2-33 (see FIGS. 23l) of the latter-mentioned publication. The polarity detectors of FIGS. 4 and 5 may be of the type disclosed in a paper entitled, Delay Compensation Concept in Very High Speed Memories, published in NEC Research and Development," Apr. issue, I967, (see in particular FIG. 3 on page 132 and FIG. 6 on page 134). The input unit 1 of FIG. 4 may be composed of of the video signal processing circuit disclosed in a paper entitled, The IBM 1975 Optical Page Reader, published in IBM Journal of Research and Development, Sept. issue, 1968, (see FIG. 6 on page 350 and FIG. 2 on page 356). Additionally, the pattern classification function of logic circuit 25 is dis closed in the, Proceedings-Fall Joint-Computer Conference, published by The American Federation of Information Processing Societies, 1968, pages I l l 8 through 1124, (particularly pages 1118 and 1119).

In FIG. 6 which illustrates the processing operation of the input pattern X having 5 components by the equipment shown in FIG. 5, it is assumed tht the positive weight vector W and the negative weight vector (W, W are respectively read out from the sections 270 and 27b of the sequential access memory 20 to become pulse trains 31 and 32. Each of these pulse trains is synchronized with clock pulses 30. Assuming further that the input pattern X (a time sequential pattern) applied to the switching circuits 21a and 21b in synchronism with the clock pulses 30 is a pulse train 33, the outputs of the switching circuits 21a and 21b become pulse trains 34, 35, 36 and 37 as illustrated in FIG. 6 in this order. The pulse train 34-. is the outcome of the AND operation of the pulse trains 31 and 33. The pulse train 35 is the outcome of the AND operation of the pulse train 31 and the inverted one of the pulse train 33. The pulse train 36 is the outcome of the AND operation of the pulse trains 32 and 33. The pulse train 37 is the outcome of the AND operation of the pulse train 32 and the inverted one of the pulse train 33. The pulse train 38 is the outcome of the wired-OR operation of the pulse trains 34 and 37 to be applied as an input to the counter 22a, while the pulse train 37 is the outcome of the wired-OR operation of pulse trains 35 and 36 to be supplied as the input to the counter 22b.

Under this state, the output of the first counter 22a contains 15 pulses, while the output of the second counter 22b contains 10 pulses. As a result, the output of the comparator 23 contains 5 pulses and the output of the polarity detector 24 is 1.

If the input of the comparator 23 which is to be connected to the counter 22b is replaced by a threshold value n/2 X w, (=0.5 X 5 X 5 12.5) equal to that value applied to the terminal 28 in FIG. 4, the output of the comparator 23 becomes +2.5. Although this value is one half of that for the case where the output of the second counter 22b was used, the output is identical so far as the output of the detector 24 is concerned.

Incidentally, each of the numerals indicated under pulses in the pulse trains 31 and 32 denotes the sum of pulses for l in each clock period, each numeral representing the analogue value for each component of the positive and negative weight vectors W and W, W

Each numeral indicated under the pulse train 33 shows the state of each component of the input pattern synchronized with the clock pulse train 30.

The memory 20 in FIGS. 4 and 5 may be constructed in the form of the magnetic bubble domain device. If this bubble domain device is employed, the operation of the pattern classification equipment will become more smooth and rational.

FIG. 7 shows a structural example of the pattern classification equipment of FIG. 5 reduced into practical form by the use of the magnetic bubble domain device.

A magnetic bubble domain element has the anisortropic property perpendicular to its plane (or in other words, sheet) and the characteristic which causes a magnetic domain having the magnetized vectors of the opposite polarity to the magnetized vectors of the environment to be moved freely along the plane. Upon application of a rotating magnetic field along the plane, the magnetic domain is partially subjected to a gradient of the magnetic field and is propagated along thin films of permalloy which are prepared on the plane. Incidentally, the magnetic pole of each thin film of permalloy is moved depending on the rotating magnetic field.

FIG. 7 represents paths along which the magnetic domain can be moved. The domain is generated in a circuit G (indicated by a circle) and moves toward a branching circuit S, (indicated by a circle). Upon application of a control magnetic field of a first phase corresponding to write-in information, the circuit S, causes the incoming magnetic domain to be moved upward. In the absence of such control magnetic control field, the incoming magnetic domain is permitted to move downward. The magnetic domain appearing from the circuit S, is directed to a branching circuit S or S and when there is no control magnetic field of a second phase for write-in applied, then to an absorber circuit A, or A By the control magnetic field of the second phase, the magnetic domains emerging from the circuits S and S are led to mixing circuits M, and M and are moved to propagation paths P,I and P P,,.

Thus, two positive analogue values w,, and (w, w (where i= I, 2, 3 and n), indicating the weighting coefficients are stored in the paths P,-P and P-,-P,,, respectively as the number of the magnetic domains. The magnetic domains are propagated depending on the rotating magnetic field in the direction shown by an arrow. Therefore, the magnetic domains in the path P,P are moved to a path P 4, through a branching circuit 8,. Also, if the application of the rotating magnetic field is continued, the domains return to the path P,-P again through a mixing circuit M,,, a branching circuit 8,, and the mixing circuit M,. Similarly, the magnetic domains in the path P-,P are permitted to go to a path P,,-P, through a branching circuit S and are restored through a mixing circuit M,,, a branching circuit S and the mixing circuit M to the path'P -P When a control magnetic field of a third phase is applied such that magnetic domains supplied to the circuit S, are sent to either path P' -P, or P P,, and those fed to a branching circuit 8,, are given to either path P,,-P,,, or P,,P, depending on the binary state variables x, (i I, 2, 3 and n) of the components of the time sequential pattern, the circuits S and S function in a similar manner to'the switching circuits 21a and 21b in FIG. 5, respectively. In other words, the total number of the magnetic domains present in the paths P;,P, and P,,-P, and that of the magnetic domains present in.the paths P 4, and P P,,, are equal in value of the outputs of the counters 22a and 22b in FIG. 5, respectively. By providing magnetic resistance elements D,, D D and D, for the detection of the magnetic domains along the paths P;,-P,, P P,,, P,,P,,,, and I' -P and interconnections as shown by the dashed lines, the weighted sum X W, X (W W,) is available from the detector 23. In this case, the available weighted sum is equal to the summation of the products for all components after each product was obtained by the multiplication of the binary statedependent variables x, and f, (i I, 2, 3 and n) of each component of the time sequential pattern by the respective weighting coefficients w and w, w,, (i I, 2,. and n). The weighted sum is fed to the polarity detector 24 and is used as an information bit for determining the category of the input pattern. Upon detection of the weighted sum, the trains of theanalogue values indicated by the number of the magnetic domains are restored through the mixing circuits M and M, to the paths P,-P and P P,,, respectively. Consequently, the propagation paths P,P and P -P,, correspond respectively to the sections 270 and 27b of the sequential access memory 20.

The circuits S,, 5,, S S and S are used to write the weighting coefficients in the memory 20. More specifically, when the control magnetic field of the second phase is given, the circuits S and S introduce the magnetic domains sent from the circuit S, into the circuits M, and M respectively. If the branching circuits S and S, are so set that the magnetic domains appearing from the circuits M and M, are fed to a mixing circuit M the magnetic domains indicating analogue values to be sent back to the paths P,-P and P -P are supplied to an absorber circuit A via the circuit M and are erased therein. In their place, magnetic domains representing new analogue values are given into the paths P,P and P P,, respectively through the circuits M, and M In such a way, the rewriting operation of the weight vector W, is performed.

characteristics of such a magnetic bubble domain element are described in many technical pages published in, for instance, Scientific American, June issue, I971, pages 71 to 90. Therefore, detailed description of the properties will'not be given here for simplicity.

FIG. 8 represents how the input pattern is processed by the device of FIG. 7. This operation essentially corresponds to that illustrated in FIG. 6.

More specifically, an arrangement 41 of the magnetic domains indicates a state of the magnetic domains present in the path P,P and an arrangement 42 shows a state of the magnetic domains present in the path P-,-P,,. A band 43 indicating the presence or absence of the control magnetic field of the third phase for changing the direction of flow of the magnetic domains from downward to upward in the circuits S and S corresponds to the input pattern X (x,, x and x If the control magnetic field of the third phase depending on the input pattern X shown by the band 43 is applied, the magnetic domains present in the paths P,P and P- -P are sent to the paths P P., or P 4, and the paths P,,P,,, or P,,-P, respectively through the circuits S, and S Arrangements of the magnetic domains 44, 45, 46, and 47 show the final state of the magnetic domains present respectively in the paths P,,-P,,, P -P P P,,,, and P,,P, Incidentally, the numbers of the magnetic domains contained in the arrangements 44, 45, 46, and 47 are 10, 5, 5, and 5, respectively.

The sum of the magnetic domains +15 in the arrangements 44 and 47 and that of the magnetic domains +I O in the arrangements 45 and 46 are supplied to the comparator 23 by the magnetic resistance elements D,, D D and D Then, the voltage signal corresponding to the difference +5 is obtained from the comparator 23. The output is given to the polarity detector 24 and is converted into a binary signal 1.

Referring to FIG. 8, a black circle indicates the presence of the magnetic domain and a white circle shows the absence of the domain. The numeral indicated below the arrangements 41 and 42 represent the numbers of the magnetic domains present in each block and, at the same time, the analogue value (weighting coefficient) for each component of the positive and negative weight vector.

In FIG. 9 which illustrates various patterns of thin films of permalloy for the magnetic bubble domain device shown in FIG. 7, block a indicates the order of the application of the rotating magnetic field to the mag netic bubble domain element. Blocks b and represent the order in which magnetic domains move on the T- and l-shaped thin films of permalloy, respectively. This order denotes also the order of the movement of a magnetic pole generated on a thin film of permalloy by the rotating magnetic field shown in the block a. In the block b, a magnetic domain moves from left to right according to numerals, whereas in the block 0, it moves from right to left.

This arrangement of the T- and I-shaped permalloy films is used for the propagation paths P,P IP -P,,, P,,P,,, P P,,, P,,P,,,, and P,,l=', shown in FIG. 7.

Block d shows the mixing circuits M, through M in FIG. 7. As illustrated, magnetic domains are led towards the upper side whether they arrive from the lower side or the right side. In FIG. 7, no magnetic do mains are permitted to appear simultaneously from both the lower and right sides, such a simple circuit shown in FIG. 7 serves sufficiently for practical purposes.

Block 2 indicates the generator circuit G shown in FIG. 7. It will be understood that the magnetic domains are produced one by one from the projected portion of the large permalloy film illustrated in the left bottom part in coincidence withthe period of the rotating magnetic field and that these magnetic domains are sent to the T- and l-shaped permalloy thin films shown in the right side. Block f indicates the absorber circuits A,, A and A In these circuits, the magnetic domains given from the left are sent to the large permalloy thin film at the right end and erased.-Blocks, g, h, and i correspond to the branching circuit 8,, the circuits S S S and S and the circuits S, and S respectively. Upon application of a control magnetic field of suitable phase, the magnetic domains sent from one direction can be moved in another direction different from the direction in which these magnetic domains are propagated depending on the normal rotating magnetic field. In particular, the circuit S, corresponding to the block g causes a magnetic domain entering from the bottom side to proceed to the right side by the control magnetic field of the first phase, (i.e., the magnetic field in the third direction superimposed on the rotating magnetic field from the external as soon as the rotating field varies from the first to 'the second direction). In the branching circuits 8,, S 8,, and S, corresponding to the block h, the magnetic domain supplied from the left side is propagated to the lower side depending on the control magnetic field of the second phase, (i.e., the magnetic field in the fourth direction superimposed on the rotating magnetic field from the external immediately after the rotating field varies from the second to the third direction). In the circuits S, and 8, corresponding to the block i, the magnetic domain from the right side is moved upward depending on the control magnetic field of the third phase, (i.e., the magnetic field in the second direction superimposed on the rotating magnetic field from the external at the moment the rotating field changes from the fourth to the first direction).

In the absence of the control magnetic field, the magnetic domains are propagated from the lower to the upper side in the block g, from the left to the right side in the block h, and from the right to the left side in the block i, respectively. Incidentally, the timing of the rotating magnetic field and the control magnetic fields of thelst, 2nd, and the 3rd phases is controlled by the timing control circuit 26 in FIG. 5.

In FIG. I0 which shows a structural example of the pattern classification equipment shown in FIG. 4 as embodied in the form of the magnetic bubble domain device, it should be noted that only one pattern classification equipment is indicated.

The absorber circuits A,, A and A a generator 6,, the branching circuits 8,, S S S and S and the mixing circuits M,, M and M represent the parts used for writing in weighting coefficients as described in FIG. 7. Each of the long propagations paths P, and P and P and P, is included in a closed loop and stores the magnetic domains sent through the mixing circuit M, or M More definitely, the analogue weighting coefficient (w,,, w, w (i l, 2,. and n) of each component of the weight vector W, or (W, W,) is stored in the form of the number of magnetic domains contained in a certain block. This operation is explained in conjunction with FIG. 8.

When the downward flow of magnetic domains in a branching circuit 5,, is changed man upward flow by the generation of the control magnetic field of the third phase depending on information of each component x,-

(i l, 2, 3,. and n), of the input pattern, the magnetic domains are transmitted to the propagation paths P and P in accordance with the input pattern X (x,, x and x,,) and its complement Y (i Y and 2 respectively. A branching circuit 8,, guides the magnetic domains emerging from a generator G to an absorber circuit A, by the use of a reset signal, or otherwise (during the set period) to the branching circuit S The reset signal necessary for resetting the content of the counter is applied from the circuit 26 in FIG. 4 as the control magnetic field of the fourth phase.

The timing of the application of the input pattern and the reset signal is predetermined by the circuit 26 shown in FIG. 4 so that the first components w,, and w, w,, of the weight vectors W, and (W, W,) arrive at logic circuits L, and L simultaneously with the arrival ofthe first component x, of the input pattern at the logic circuit L, or L As a result, the product x, w,, of the i-th component w,,, (i l, 2,.. and n), of the j-th weight vector W, and the i-th component x,-, i l, 2, and n, of the input pattern X is sent to the path P as the number of the magnetic domains, whereas the product of (w w and I, is given to the path P,,.

It is to be noted that w denotes the maximum number of the magnetic domains which each block can include and that f, is 1 for x, O.

The arrangements of the magnetic domains in the propagation paths l and P, correspond to the arrangemerits 44 and 47 in FIG. 8, respectively. In the logic circuit L,, the magnetic domains which proceed from the path P; to an absorber circuit A are directed to the path P,, when the domains come into this circuit L, simultaneously from the paths P and P, by utilizing the repulsive force between the magnetic domains appearing from the two paths. If magnetic domains appear neither from path P nor from P,, the magnetic domains are not sent to the path P-,. Therefore, the logic circuit L, can perform the AND function. Also, the logic circuit L operates in the same manner as the circuit L,. A mixing circuit M delivers the magnetic domains entering from the paths P and P to a logic circuit L,,.

The weighted sum for the device of FIG. 10 can be calculated in almost similar manner to the circuit of FIG. 4. The sections 27a and 27b of the memory 20 correspond to the paths P and P P and P in FIG. 10, respectively. Furthermore, the switching circuits 21a and 21b correspond respectively to the logic circuits L and L in FIG. 10. Moreover, the wiring-OR of the outputs of the circuits 21a and 21b in FIG. 4 corresponds to the mixing circuit M A special propagation path P in FIG. 10 may be composed of a distributed-bypass type propagation circuit, although it may take the same structure as the ordinary propagation path. During the period in which the magnetic domains are being sent from the circuit S to a logic circuit L.,, the magnetic domains sent to the path P is subjected to the repulsive force in the logic circuit L, due to those given from a branching circuit S and cannot go to an absorber circuit A In the path P, the magnetic domains applied therein are packed sequentially, beginning with the position immediately preceeding the circuit L The packed magnetic domains are not erased by those appearing from the path P afterwards and stay in the by-passes provided for the path P.

It is assumed that the maximum number of the magnetic domains capable of staying in the path P existing between the logic circuits L and L is A X w, X n, or equal to the threshold value to be applied on the input terminal 28 of the comparator 23 in FIG. 4. Then, the magnetic domains in the logic circuit L go to an absorber circuit A due to the repulsive force exerted from the domains present in the path P as soon as the number of the magnetic domains proceeding to the circuit L from the circuit M during the set period exceeds the value & w X it. By installing a magnetic domain detector D (utilizing the Hall effect) on a path between L and A the presence or absence of magnetic domains can be detected. Whether the output of the magnetic domain detector D is l or corresponds to whether the output of the polarity detector 24 in FIG. 4 is l or 0.-

The reset signal has the function of altering the flow of the magnetic domains not only for the circuit S but also for the circuit S If the reset signal is applied, the magnetic domains from a generator 0;, are propagated straight in the circuit S to an absorber circuit A, via a mixing circuit M otherwise the magnetic domains proceed to the logic circuit L from the circuit S While there are no magnetic domains incoming from the circuit 8,, with the reset signal applied, the magnetic domains present in the path P are given to the circuit A,,. At the same time, the magnetic domains cannot proceed from the circuit S to the circuit S with the result that no magnetic domains flow-to the path P. Therefore, no magnetic domains will be present in the path P.

Since the circuits 8,, and S in each of which the direction of flow of the magnetic domains is changed by the control magnetic field of the fourth phase have a strong resemblance to the permalloy patterns shown in the blocks g and h in FIG. 9, a detailed description of these circuits will not be given here. Furthermore, the structure of the logic circuits L and L; can be easily inferred from the manner of repulsion between the magnetic domains in block 59 or 58 as will be described referring to the particular logic circuit shown in FIG. 11. Therefore, the logic circuits L, and L are not illustrated in detail. The branching circuit 8,, can be realized by a permalloy pattern shown in the block i in FIG. 9.

In FIG. 11 which represents a diagram of the propagation path P of FIG. 4 in detail, the path P is employed to perform the function of quantization by only T- and l-shaped thin films of permalloy. In the drawings, the notations at the end points of the T- and lshaped permalloy films indicate the time points at which the bubble domains become stable. These time points correspond to those a, b, c, and d for the four divisions of each period of the rotating magnetic field.

In case where no magnetic bubbles are sent to a prop agation path 56, the bubbles are moved to a propagation path 57 from a propagation path 53 through a special propagation path 55 (P) following the route a, b, c, d, a, b, c, d, (note unprimed). In the presence of the bubble domains in the path 56, the domains on a T-shaped thin film 67 located subsequent to the path 55 are repelled back to the portion d (note primed) of the thin film 67 by bubble domains proceeding to T- shaped thin film 69 from T-shaped thin film 68 in the path 56 at the time point D in a logic circuit 59 (L Following this phenomenon, bubble domains to be moved to the portion d of an I-shaped thin film 66 from a T-shaped thin film 65 are repelled back to the porton d of T-shaped thin film 65. When the path 55 (P) is filled with the bubble domains, these bubble domains stay at the positions a, b, c, and d on each T-shaped thin film, maintaining their rotation. A logic circuit 58 (L causes, at the time point d, the flow of the bubble domains directed to theportion d of l-shaped thin film 61 on the right side of T-shaped thin film 60 to change towards I-shaped thin film 63 and T-shaped thin film 64 through the portion 11' of the thin film 60 due to the repulsive force exerted from those bubble domains that are repelled back to the portion d of the T-shaped thin film 62. As a consequence, the presence or absence of the bubble domains passing through a propagation path 54 can be detected. Thus, the detected output demonstrates that the number of the bubble domains passing through the path 54 during the set period is larger than the threshold value. v

As has been mentioned above, this invention permits the inner product of the positive and negative weight vectors stored in the (sequential access) memory 20 to be obtained from the output without storing even once the input pattern X (the time sequential pattern) which is applied through the scanning type observing unit into the shift registers. This eliminates the inconvenience that both manufacturing cost and processing time increase rapidly with the increase in the number of dimensions or mask patterns of the input pattern.

The pattern classification equipment of this invention embodied in the form of the magnetic bubble domain device has the following advantages:

1. Both the positive and negative weight vectors can be written in at a stroke by using one of the weight vectors;

2. Parallel calculation of a plurality of weighted sums can be performed, enabling the input pattern to be applied in the form of the control magnetic field to a plurality of switching circuits;

3. The weighting coefficients of the mask pattern can be altered with ease;

4. The memory contents in the absence of the driving power are not destroyed and hence,- nondestructive readout operation can be permanently carried out;

5. Quantization of the'weighted sum is accomplished by the special propagation path having simple structure; and

6. The equipment is small insize and weight regardless of the increase in the number of dimensions of the input pattern or of mask patterns.

What is claimed is:

l. A pattern classification equipment adapted to determine the classification of incoming n-dimensional time-sequential pattern composed of n binary statedependent variables, by giving weighting coefficients to said variables, summing up the weighted variables, and quantizing the summation result, characterized by comprising: a scanning-type photo-electric conversion means for sequentially converting into a binary signal an input pattern on a sheet of document divided into n meshes, so that brightness of each mesh may be translated into two values of said binary signal through the successive comparison of said brightness with a reference brightness; a sequential access memory having a pluralityof memory sections for storing n pairs of positive and negative weighting coefficients, said memory being adapted to read out one pair from among the n pairs of said positive and negative weighting coefficients in one-to-one correspondence with each component of the time-sequential input pattern; a plurality of switching means connected to readout terminals of said memory sections and controlled by the output of the photo-electric conversion means; a counter connected to the switching means; a quantizer connected to the counter and composed of a comparator and a polarity detector; and means for generating timing signals for controlling each of all the aforementioned means; whereby the corresponding switching means operates so that the positive or negative weighting coefficient may be sent to the counter depending on the binary output signal 1 or from the photo-electric conversion means.

2. A pattern classification equipment according to claim l having first and second counters in place of the above-mentioned single counter, whereby all of the switching means operate so that the positive and negative weighting coefficients are sent respectively to the first and second counters'depending on the binary output signal 1 from the photo-electric conversion means and vice versa depending on the signal 0.

3. A pattern classification system adapted to classify n-dimensional patterns represented by n sequential binary components x x,,, said system comprising,

a. means for storing a plurality of pairs of ndimensional weighting coefficients W, and W, where W, is a positive weighting coefficient composed of n components W51 W w Q w,,,; W, W, is the corresponding negative weighting coefficient composed of n components (w w (w, w (w w w, is the sum of any two corresponding components of a pair of positive and negative weighting coefficients,

b. means associated with each said stored pair responsive to weighting components applied thereto for accumulating said weighting components and forming a sum thereof,

c. switching means associated with said stored pairs between said storing means and said accumulating means, and being responsive to each said components x, of said pattern for applying either w, or (w, w to said accumulating means depending on whether X, has a first or second binary value, and

d. threshold means associated with each said accumulating means, for providing an indication whether said sum exceeds a threshold value applied to said threshold means. 4. A pattern classification system as claimed in claim 3 further comprising means associated with each said stored pair for developing a threshold value, said latter means comprising,

a. second accumulating means for accumulating weighting components applied thereto, and b. second switching means between said storage means and said second accumulating means and being responsive to each said component x,- of said pattern for applying to said second accumulating means the other of said components w,-,- or (w, w from that which is applied to said first accumulating means by said first switching means, whereby the sum in said second accumulating means is said threshold value. 5. A pattern classification system as claimed in claim 3 wherein said means for storing each pair of positive and negative weighting coefficients comprises, first and secondrnagnetic domain storage paths, said first storage path adapted to retain a plurality of sequentially arranged groups of magnetic domains, the groups corresponding respectively to components of W, and the number of domains in any group i representing the value of components w, said second storage path adapted to retain a plurality of sequentially arranged groups of magnetic domains, the groups corresponding respectively to components of W W,- and the number of domains in any group i representing the value of Components W3 W.

6. A pattern classification system as claimed in claim 5 wherein said first switching means comprises,

a. means for generating a continuous stream of magnetic domains,

b. a first domain diverting means having one input and two output paths for diverting domains appearing at said input path to said first output path in response to a particular time-phase external magnetic field and for diverting said domains to said second path in the absence of said particular timephase external magnetic field, wherein the binary value of each x, is represented by the presence or absence of said particular time-phase external magnetic field,

c. a pair of magnetic domain repulsion diverting means located respectively adjacent said first and second stored paths for applying domains appearing at an input thereof to said accumulating means only when a domain in said adjacent storage path is in a position to repulse said input domain, and

d. means to cause said domains in said paths to circulate in synchronism with the generation of domains by said generating means,

c. said generating means, said domain diverting means, and said domain repulsion diverting means being arranged on a material capable of holding magnetic domains, the arrangement being such that each generated domain is applied to the input of said first diverting means and is diverted to one or the other of said repulsion diverting means where it is repulsed towards said accumulating means if a domain is circulating through a location in said storage path adjacent said repulsion diverting means at the same time said generated domain is at said repulsion diverting means.

7. A pattern classification system as claimed in claim 6 wherein said accumulating means and said threshold means comprises, a domain detection, a magnetic domain stacking path adapted to store domains in stacked arrangement as they are applied to an input thereof, said stacking path being filled when no further domains can be stored therein, means for applying the domains from said repulsion diverting means to the input of said domain stacking path whereby said domains enter said path when said path is not full and are repulsed to said domain detector when said stacked path is filled.

8. A pattern classification system as claimed in claim 4 wherein said storing means comprises,

a. a first magnetic domain storage path for storing n groups of magnetic domains corresponding respectively to an n-component positive weighting coefficient, where the number of domains in each group corresponds to the value of the component, and

b. a second magnetic domain storage path for storing n groups of magnetic domains corresponding respectively to an n-component negative weighting coefficient, where the number of domains in each group corresponds to the value of the component.

9. A pattern classification system as claimed in claim 8 wherein said first accumulating means comprises,

a. a third magnetic domain storage path arranged to form a closed loop domain path with said first path,

b. a fourth magnetic domain storage path arranged to form a closed loop domain path with said second path, whereby domains entering said third and fourth paths from said first and second paths, respectively, are effectively accumulated, and

c. magnetic domain detecting means adjacent said third and fourth paths for forming a signal representing the total number of domains in said third and fourth paths.

10. A pattern classification system as claimed in claim 9 wherein said second accumulating means comprises,

a. a fifth magnetic domain storage path arranged to form a closed loop domain path with said first path and arranged as an alternate path to said third path,

b. a sixth magnetic domain storage path arranged to form a closed loop domain path with said second path and arranged in an alternate path to said fourth path, whereby domains entering said fifth and sixth paths from said first and second paths, respectively, are effectively accumulated, and

c. second magnetic domain detecting means adjacent said fifth and sixth parts for forming a signal representing the total number of domains in said fifth and sixth paths.

11. A pattern classification system as claimed in claim 10 wherein said first and second switching means comprises,

a. a first domain switch, located between the output of said first path and the inputs to said third and fifth paths, and responsive to magnetic time-phase vectors representing the values of said components x, for diverting each group of domains representing w from said first path to either said third or said fifth path depending on the value of x and b. a second domain switch, located between the output of said second path and the inputs to said fourth and sixth paths, and responsive to magnetic time-phase vectors representing the values of said components x, for diverting each group of domains representing (w, w from said second path to either said fourth or said sixth path depending on the value of x,-.

12. A magnetic domain circuit of the type comprising a plurality of permalloy thin film elements of the surface of a material capable of holding magnetic domains and a rotating planar magnetic field adapted to rotate the poles of said permalloy elements to cause movement of domains in direction controlled by the shape and groupings of said elements, the improvement being the particular arrangement of elements to perform a pattern classification weighting function and comprisa. a first domain circulating path formed by said elements for circulating a plurality of domains through a first domain point,

b. a second domain circulating path formed of said elements for circulating a plurality of domains through a second domain point,

c. a first repulsion diverting means formed of said elements and positioned adjacent said first domain point for transferring domain applied to the input thereof to a first output in the absence of a domain at said first domain point and for diverting said domain applied to the input to a second output thereof when a domain is present at said first domain point,

d. a second repulsion diverting means formed by said elements and positioned adjacent said second domain point for transferring domain applied to the input thereof to a second output in the absence of a domain at said second domain point and for diverting said domain applied to the input to a second output thereof when a domain is present at said second domain point,

e. domain generating means formed from said elements,

f. switching means formed from said elements and responsive to an external field in addition to said rotating magnetic field for selectively transferring the domains generated by said generating means to one of said first and second repulsion diverting means,

g. a storage path formed from said elements and having an input end and a far end, said storage path being adapted to accept and store a maximum number of domains applied to the input end thereof,

h. an alternate path, formed from said elements, adjacent the input end of said storage path, and

i. input switching means, formed from said elements, adapted to receive said domains from the second outputs respectively of said first and second repulsive diverting means for transferring said domains to said storage path provided said storage path is not filled to maximum and for transferring said domains to said alternate path when said storage path is filled to maximum.

Patent No. 3, 786,428 Dated ry 1 1974 Inventor(s) Kousuke TAKAHASHI It is certified that error appears in the above-identified patent and that said Letters Patent are hereby corrected as shown below:

Column line 9 "Q-dimensioned" should read 9-dimensional Column 3, lines delete 0. 7 insert 0, 7 40-45 0. 7 0. Z 0. 9 0. 9 O. l 0.1 0. 8 O. 8

Column 6, line 9 delete "l" and insert (1) line 14.- delete "bits for" and insert bits of Column 8, line 62 delete "2 and insert W 1" line 66 delete (first occurrence) and insert line 66 delete "w wz and insert W11, W

line 66 before and after (second occurrence) insert line 67 at end of equation insert Column 9, line 28 delete "X" and insert 5( (first occurrence) line 28 delete 1?" and insert X (s econd occurrence) Column ll, line 20 delete "W and insert w 11 (numeral 1) line 61 delete "W and insert w (numeral 1) Column 12, line 20 delete "characteristics" and insert Characteristics USCOMNPDC 60376-P59 U.S GOVERNMENT PRINTING OFFICE I969 (3-366-334,

UNITED STATES PATENT OFFICE CERTIFICATE OF CORRECTION Patent No. 3, 8 Dated January 1 974 Inventor(s) Kousuke It is certified that error appears in the above-identified patent and that said Letters Patent are hereby corrected as shown below:

Page Two Column 14, line 16 insert brackets at beginning and end of equation 7 line 16 4 delete paraenthesis at beginning of equation line 16 delete W and insert W "(numeral 1) line 43 delete "w and insert w (numeral 1) line 44 delete "W11" and insert w (numeral 1) line 47 1-ldelete "W and insert w (numeral 1) Column 16, line 22 P delete "D and insert d I 7 Column 17, line 52. delete "j" (second occurrence) and insert W line 54 a delete "w and insert w (numeral 1) Column 19, line 53 delete "parts' and insert paths Signed and sealed this 17th day of September 1974.

(SEAL) Attest: v v

MCCOY M. GIBSON JR. c. MARSHALL DANN Attesting Officer Commissioner of Patents- FORM PO-1050 T USCOMM-DC scene-Pas I i 0,5. GOVERNMENT PRINTING OFFICE: I969 0-355-334. 

1. A pattern classification equipment adapted to determine the classification of incoming n-dimensional time-sequential pattern composed of n binary state-dependent variables, by giving weighting coefficients to said variables, summing up the weighted variables, and quantizing the summation result, characterized by comprising: a scanning-type photo-electric conversion means for sequentially converting into a binary signal an input pattern on a sheet of document divided into n meshes, so that brightness of each mesh may be translated into two values of said binary signal through the successive comparison of said brightness with a reference brightness; a sequential access memory having a plurality of memory sections for storing n pairs of positive and negative weighting coefficients, said memory being adapted to read out one pair from among the n pairs of said positive and negative weighting coefficients in one-to-one correspondence with each component of the time-sequential input pattern; a plurality of switching means connected to readout terminals of said memory sections and controlled by the output of the photo-electric conversion means; a counter connected to the switching means; a quantizer connected to the counter and composed of a comparator and a polarity detector; and means for generating timing signals for controlling each of all the aforementioned means; whereby the corresponding switching means operates so that the positive or negative weighting coefficient may be sent to the counter depending on the binary output signal 1 or 0 from the photoelectric conversion means.
 2. A pattern classification equipment according to claim 1 having first and second counters in place of the above-mentioned single counter, whereby all of the switching means operate so that the positive and negative weighting coefficients are sent respectively to the first and second counters depending on the binary output signal 1 from the photo-electric conversion means and vice versa depending on the signal
 0. 3. A pattern classification system adapted to classify n-dimensional patterns represented by n sequential binary components x1 . . . xn, said system comprising, a. means for storing a plurality of pairs of n-dimensional weighting coefficients Wj and Ws - j, where Wj is a positive weighting coefficient composed of n components wjl, wj2, wj3, . . . wjn; Ws - Wj is the corresponding negative weighting coefficient composed of n components (ws - wj1), (ws - wj2), . . . (ws - wjn); ws is the sum of any two corresponding components of a pair of positive and negative weighting coefficients, b. means associated with each said stored pair responsive to weighting components applied thereto for accumulating said weighting components and forming a sum thereof, c. switching means associated with said stored pairs between said storing means and said accumulating means, and being responsive to each said components x1 of said pattern for applying either wji or (ws - wji) to said accumulating means depending on whether Xi has a first or second binary value, and d. threshold means associated with each said accumulating means, for providing an indication whether said sum exceeds a threshold value applied to said threshold means.
 4. A pattern classification system as claimed in claim 3 further comprising means associated with each said stored pair for developing a threshold value, said latter means comprising, a. second accumulating means for accumulating weighting components applied thereto, and b. second switching means between said storage means and said second accumulating means and being responsive to each said component xi of said pattern for applying to said second accumulating means the other of said components wji or (ws -wji) from that which is applied to said first accumulating means by said first switching means, whereby the sum in said second accumulating means is said threshold value.
 5. A pattern classification system as claimed in claim 3 wherein said means for storing each pair of positive and negative weighting coefficients comprises, first and second magnetic domain storage paths, said first storage path adapted to retain a plurality of sequentially arranged groups of magnetic domains, the groups corresponding respectively to components of Wj and the number of domains in any group i representing the value of components wji, said second storage path adapted to retain a plurality of sequentially arranged groups of magnetic domains, the groups corresponding respectively to components of Ws - Wj and the number of domains in any group i representing the value of components ws - wji.
 6. A pattern classification system as claimed in claim 5 wherein said first switching means comprises, a. means for generating a continuous stream of magnetic domains, b. a first domain diverting means having one input and two output paths for diverting domains appearing at said input path to said first output path in response to a particular time-phase external magnetic field and for diverting said domains to said second path in the absence of said particular time-phase external magnetic field, wherein the binary value of each xi is represented by the presence or absence of said particular time-phase external magnetic field, c. a pair of magnetic domain repulsion diverting means located respectively adjacent said first and second stored paths for applying domains appearing at an input thereof to said accumulating means only when a domain in said adjacent storage path is in a position to repulse said input domain, and d. means to cause said domains in said paths to circulate in synchronism with the generation of domains by said generating means, e. said generating means, said domain diverting means, and said domain repulsion diverting means being arranged on a material capable of holding magnetic domains, the arrangement being such that each generated domain is applied to the input of said first diverting means and is diverted to one or the other of said repulsion diverting means where it is repulsed towards said accumulating means if a domain is circulating through a location in said storage path adjacent said repulsion diverting means at the same time said generated domain is at said repulsion diverting means.
 7. A paTtern classification system as claimed in claim 6 wherein said accumulating means and said threshold means comprises, a domain detection, a magnetic domain stacking path adapted to store domains in stacked arrangement as they are applied to an input thereof, said stacking path being filled when no further domains can be stored therein, means for applying the domains from said repulsion diverting means to the input of said domain stacking path whereby said domains enter said path when said path is not full and are repulsed to said domain detector when said stacked path is filled.
 8. A pattern classification system as claimed in claim 4 wherein said storing means comprises, a. a first magnetic domain storage path for storing n groups of magnetic domains corresponding respectively to an n-component positive weighting coefficient, where the number of domains in each group corresponds to the value of the component, and b. a second magnetic domain storage path for storing n groups of magnetic domains corresponding respectively to an n-component negative weighting coefficient, where the number of domains in each group corresponds to the value of the component.
 9. A pattern classification system as claimed in claim 8 wherein said first accumulating means comprises, a. a third magnetic domain storage path arranged to form a closed loop domain path with said first path, b. a fourth magnetic domain storage path arranged to form a closed loop domain path with said second path, whereby domains entering said third and fourth paths from said first and second paths, respectively, are effectively accumulated, and c. magnetic domain detecting means adjacent said third and fourth paths for forming a signal representing the total number of domains in said third and fourth paths.
 10. A pattern classification system as claimed in claim 9 wherein said second accumulating means comprises, a. a fifth magnetic domain storage path arranged to form a closed loop domain path with said first path and arranged as an alternate path to said third path, b. a sixth magnetic domain storage path arranged to form a closed loop domain path with said second path and arranged in an alternate path to said fourth path, whereby domains entering said fifth and sixth paths from said first and second paths, respectively, are effectively accumulated, and c. second magnetic domain detecting means adjacent said fifth and sixth parts for forming a signal representing the total number of domains in said fifth and sixth paths.
 11. A pattern classification system as claimed in claim 10 wherein said first and second switching means comprises, a. a first domain switch, located between the output of said first path and the inputs to said third and fifth paths, and responsive to magnetic time-phase vectors representing the values of said components xi for diverting each group of domains representing wji from said first path to either said third or said fifth path depending on the value of xi, and b. a second domain switch, located between the output of said second path and the inputs to said fourth and sixth paths, and responsive to magnetic time-phase vectors representing the values of said components xi for diverting each group of domains representing (ws - wji) from said second path to either said fourth or said sixth path depending on the value of xi.
 12. A magnetic domain circuit of the type comprising a plurality of permalloy thin film elements of the surface of a material capable of holding magnetic domains and a rotating planar magnetic field adapted to rotate the poles of said permalloy elements to cause movement of domains in direction controlled by the shape and groupings of said elements, the improvement being the particular arrangement of elements to perform a pattern classification weighting function and comprising, a. a first domain circulating path formed bY said elements for circulating a plurality of domains through a first domain point, b. a second domain circulating path formed of said elements for circulating a plurality of domains through a second domain point, c. a first repulsion diverting means formed of said elements and positioned adjacent said first domain point for transferring domain applied to the input thereof to a first output in the absence of a domain at said first domain point and for diverting said domain applied to the input to a second output thereof when a domain is present at said first domain point, d. a second repulsion diverting means formed by said elements and positioned adjacent said second domain point for transferring domain applied to the input thereof to a second output in the absence of a domain at said second domain point and for diverting said domain applied to the input to a second output thereof when a domain is present at said second domain point, e. domain generating means formed from said elements, f. switching means formed from said elements and responsive to an external field in addition to said rotating magnetic field for selectively transferring the domains generated by said generating means to one of said first and second repulsion diverting means, g. a storage path formed from said elements and having an input end and a far end, said storage path being adapted to accept and store a maximum number of domains applied to the input end thereof, h. an alternate path, formed from said elements, adjacent the input end of said storage path, and i. input switching means, formed from said elements, adapted to receive said domains from the second outputs respectively of said first and second repulsive diverting means for transferring said domains to said storage path provided said storage path is not filled to maximum and for transferring said domains to said alternate path when said storage path is filled to maximum. 